package cn.have.service;

import org.springframework.stereotype.Component;

/**
 * @ClassName PaymentFallbackService
 * @Author 王新
 * @Date: 2022/1/25 13:04 星期二
 * @Version 1.0
 * @Description
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentFallbackService fall back paymentInfo_OK, O(∩_∩)O哈哈~";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "PaymentFallbackService fall back paymentInfo_TimeOut, o(╥﹏╥)o";
    }
}
